<form action="{$URL_ROOT}cadastro/signin" method="post" onsubmit="return ajaxSubmit(this.id);">
	<label for="name">{__ t='Nome'}</label>
	<input type="text" id="name" name="name" value="{if isset($user_edit)}{$user_edit->get_name()}{/if}" /><br/>
	<label for="email">{__ t='Email'}</label>
	<input type="text" id="email" name="email" value="{if isset($user_edit)}{$user_edit->get_email()}{/if}" />
	<label for="email">{__ t='Confirme seu Email'}</label>
	<input type="text" id="email_confirm" name="email_confirm" value="{if isset($user_edit)}{$user_edit->get_email()}{/if}" /><br/>
	<label for="city">{__ t='Cidade'}</label>
	<input type="text" id="city" name="city" value="{if isset($user_edit)}{$user_edit->get_city()}{/if}" />
	<label for="state">{__ t='Estado'}</label>
	<input type="text" id="state" name="state" value="{if isset($user_edit)}{$user_edit->get_state()}{/if}" /><br/>
	<label for="dob">{__ t='Data de Nascimento'}</label>
	<input type="text" id="dob" name="dob" value="{if isset($user_edit)}{$user_edit->get_dob()}{/if}" /><br/>
	<label for="gender">{__ t='Sexo'}</label>
        <select id="gender" name="gender">
            <option value="male" {if isset($user_edit) && $user_edit->get_gender()=="male"}selected{/if}>Masculino</option>
            <option value="female" {if isset($user_edit) && $user_edit->get_gender()=="female"}selected{/if}>Feminino</option>
        </select><br/>
	<label for="sport">{__ t='Esporte Favorito'}</label>
        <select id="sport" name="sport" >
            <option value="">Escolha</option>
            <option value="fut" {if (isset($user_edit) && $user_edit->get_team()=="cor") || !isset($user_edit)}selected{/if}>Futebol</option>
            <option value="vol" {if isset($user_edit) && $user_edit->get_team()=="pal"}selected{/if}>Volei</option>
            <option value="han" {if isset($user_edit) && $user_edit->get_team()=="san"}selected{/if}>Handbol</option>
            <option value="bas" {if isset($user_edit) && $user_edit->get_team()=="sp"}selected{/if}>Basquete</option>
            <option value="lutas" {if isset($user_edit) && $user_edit->get_team()=="none"}selected{/if}>Lutas(MMA/Boxe/etc..)</option>
            <option value="none" {if isset($user_edit) && $user_edit->get_team()=="none"}selected{/if}>Nenhum</option>
            <option value="other" {if isset($user_edit) && $user_edit->get_team()=="other"}selected{/if}>Outro</option>
        </select><br/>
	<label for="team">{__ t='Time Favorito'}</label>
        <select id="team" name="team" >
            <option value="">Escolha</option>
            <option value="cor" {if isset($user_edit) && $user_edit->get_team()=="cor"}selected{/if}>Corinthians</option>
            <option value="pal" {if isset($user_edit) && $user_edit->get_team()=="pal"}selected{/if}>Palmeiras</option>
            <option value="san" {if isset($user_edit) && $user_edit->get_team()=="san"}selected{/if}>Santos</option>
            <option value="sp" {if isset($user_edit) && $user_edit->get_team()=="sp"}selected{/if}>Bambi</option>
            <option value="none" {if isset($user_edit) && $user_edit->get_team()=="none"}selected{/if}>Nenhum</option>
            <option value="other" {if isset($user_edit) && $user_edit->get_team()=="other"}selected{/if}>Outro</option>
        </select><br/>
        {if !isset($user_edit)}
            <label for="password" >{__ t='Senha'}</label>
            <input type="password" id="password" name="password" value="" />
            <label for="password_confirm" >{__ t='Confirmação de Senha'}</label>
            <input type="password" id="password_confirm" name="password_confirm" value="" /><br/>
        
        {/if}
	<input type="submit" value="{__ t='Salvar'}" />
</form>